﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AdEdit.aspx.cs" Inherits="CNVP.JShop.Web.Member.AdEdit" %>
<%@ Register src="~/Member/Footer.ascx" tagname="Footer" tagprefix="uc1" %>
<%@ Register src="~/Member/Header.ascx" tagname="Header" tagprefix="uc1" %>
<%@ Register src="~/Member/LeftNav.ascx" tagname="LeftNav" tagprefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
     <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
     <meta content="IE=7" http-equiv="X-UA-Compatible" />
     <link href="../Admin/CSS/Edit.css" rel="stylesheet" type="text/css" />
     <script src="../Scripts/jquery.js" type="text/javascript"></script>
     <script src="../Scripts/Common.js" type="text/javascript"></script>
     <style type="text/css">
     html{ width:100%; height:100%;background-image:url(../Admin/Images/MainBg.png); background-repeat:repeat-x; background-position:center 0; }
     .MenuItem {
    margin-top: 10px;
    margin-bottom:0px;
    padding:0px 10px;
}
.TitleWord {
    background-image: url("../Admin/Images/Dot03.png");
    background-position: 8px center;
    background-repeat: no-repeat;
    padding-left: 2em;
}
..MenuItem2 { margin-bottom:0px; padding-bottom:0px;}
     </style>
    <script type ="text/javascript">
        $(function () {
            $("#btUp").click(function () {
                var $txtHomeLinkUrl = $("#txtHomeLinkUrl");
                var $txtDownLoadUrl = $("#txtDownLoadUrl");
                if (!IsValidURL($txtDownLoadUrl.val())) {
                    alert("登陆器下载地址格式不正确！");
                    $txtDownLoadUrl.focus();
                    return false;
                }
                if (!IsValidURL($txtHomeLinkUrl.val()))
                {
                    alert("主页地址格式不正确！");
                    $txtHomeLinkUrl.focus();
                    return false;
                }
               
            });
        });
   </script>
   <link href="JS/jquery-calendar.css" rel="stylesheet" type="text/css" />
<script src="JS/jquery-calendar.js" type="text/javascript"></script>
<script type="text/javascript">
		//<![CDATA[
    $(document).ready(function () {
        $("#txtOpenTime,#txtPostTime").calendar();
    });
		//]]>
</script>
</head>
<body style=" margin:0px; padding:0px;">
    <form id="form1" runat="server">
        <table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0">
        <tbody>
        <tr>
            <td height="110" style="background-image:url(../Admin/Images/MainBg.png); background-repeat:repeat-x; background-position:center 0;" colspan="2">
                <uc1:Header ID="Header1" runat="server" />
             </td>
       </tr>
        <tr>
            <td width="200" valign="top" style="border-right:solid 1px #9db3c5; background-image:url(../Admin/Images/MainBg.png); background-repeat:repeat-x; background-position:center 0; ">
                <uc1:LeftNav ID="LeftNav1" runat="server" />
            </td>
            <td>
                <div class="Content" style="background-color:White;padding:10px; ">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="cell">
                        <tr>
                            <td class="cell_group">
                                <img src="../Admin/Images/ListIconTitle.jpg" alt="" />&nbsp;您的位置：<a href="AdList.aspx">广告管理</a><asp:Label ID="lbTitle" runat="server"></asp:Label><input type="hidden" value="0" runat="server" id="optype" />
                            </td>
                        </tr>
                        </table>
                             <table border="0" cellpadding="0" cellspacing="0" class="division">
                                 <tr>
                                    <th>信息类别:</th>
                                    <td>
                                         <asp:DropDownList ID="ddlDisplayID" runat="server" Width="150px">
                                            <asp:ListItem Value="0">--普通套黄--</asp:ListItem>
                                            <asp:ListItem Value="1">--全天固定--</asp:ListItem>
                                            <asp:ListItem Value="2">--通宵固顶--</asp:ListItem>
                                            <asp:ListItem Value="3">--通宵广告--</asp:ListItem>
                                        </asp:DropDownList>
                                   </td>
                                </tr>
                                <tr>
                                    <th>广告发布时间：</th>
                                    <td>
                                        <asp:TextBox ID="txtPostTime" runat="server" />
                                    </td>
                                </tr>
                                <tr>
                                    <th>服务器名称:</th>
                                    <td><asp:TextBox ID="txtServerName" runat="server" MaxLength="12" /></td>
                                </tr>
                                <tr>
                                    <th>登陆器名称:</th>
                                    <td><asp:TextBox ID="txtLServerName" runat="server" MaxLength="12" /></td>
                            
                                </tr>
                                <tr>
                                    <th>登陆器下载地址：</th>
                                    <td><asp:TextBox ID="txtDownLoadUrl" runat="server" MaxLength="255" Width="355px" Text="http://" /></td>  
                                </tr>
                                <tr>
                                    <th>开区时间:</th>
                                    <td><asp:TextBox ID="txtOpenTime" runat="server" /></td>
                                </tr>
                                <tr>
                                    <th>版本介绍:</th>
                                    <td><asp:TextBox ID="txtEditionInfor" runat="server" /></td>
                                </tr>
                                <tr>
                                    <th>主页名称：</th>
                                    <td><asp:TextBox ID="txtHomeLink" runat="server" /></td>
                                </tr>
                                <tr>
                                    <th>主页地址：</th>
                                    <td><asp:TextBox ID="txtHomeLinkUrl" runat="server" MaxLength="255" Width="355px" Text="http://" /></td>
                                </tr>

                                <tr>
                                    <th>
                                          显&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;示:</th>
                                    <td>
                                          <asp:RadioButtonList ID="rblIsShow" runat="server" 
                                              CssClass="RadioButtonListTable" RepeatDirection="Horizontal" Width="100px">
                                            <asp:ListItem Value="1" Selected="True">是</asp:ListItem>
                                            <asp:ListItem  Value="0">否</asp:ListItem>
                                            </asp:RadioButtonList>
                                        </td>
                                </tr>
                                
                            </table>
                         <div class="EditBtn">  
                         <input type="hidden" id="aid" value="0" runat="server" />
                    <asp:Button ID="btUp" runat="server" Text="提交" OnClick="btUp_Click" />
                    <input type="button" value="取消" onclick="javascript:history.go(-1)" />
                    </div>
                </div>
            </td>
          </tr>
        <tr>
            <td height="25" style="border-top:solid 1px #9db3c5;  background-image:url(../Admin/Images/MainBg.png); background-repeat:repeat-x; background-position:center 0;" colspan="2">
                <uc1:Footer ID="Footer1" runat="server" />
            </td>
        </tr>
       </tbody>
        </table>
    </form>
</body>
</html>
